]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Center-align window previews if there's only a single row
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 3 Feb 2021 09:37:56 +0000 (10:37 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Wed, 3 Mar 2021 14:02:52 +0000 (15:02 +0100)
commit31d7770eeb1c7fddb57ff7b8b92bddd17cb3548c
treed9df73422ed1ede6c3545c22d5fd9717b005125e
parent9b9be4a1a578228f1e1a302d664a7f3c4b4cc4d4
workspace: Center-align window previews if there's only a single row

Instead of always aligning window previews vertically at the bottom of
their row, only do that if we have multiple rows. If there's only a
single row of windows, align every window vertically centered.

This is a very small step towards the new layout for window previews in
the overview, but since the release of 40 is getting nearer and nearer,
changing more is not feasible anymore.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3634

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1737>
js/ui/workspace.js